﻿using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MPMusicVids.Importer;
using MPMusicVids.Data;
using MediaPortal.Configuration;

namespace MPMusicVids
{
    public partial class addDVD : Form
    {
        DataManager dm = MusicVidsMain.dm;

        public addDVD()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            this.Close();
        }

        private void radioButton1_CheckedChanged(object sender, EventArgs e)
        {
            if (radioButton1.Checked)
            {
                txtArt.Size = new Size(451, 20);
                btnBrowse.Enabled = false;
                btnBrowse.Visible = false;
            }
            else
            {
                txtArt.Size = new Size(414, 20);
                btnBrowse.Enabled = true;
                btnBrowse.Visible = true;
            }
        }     
        
    }
}
